package ar.com.mej.business;

public class Movement extends Entity {

	private Client client;
	private Order order;
	private DistributionClient distributionClient;
	private float value;
	private String voucher;
	private MovementType movementType;

	public Movement(Integer id, boolean active, Client client, Order order,
			DistributionClient distributionClient, float value, String voucher,
			MovementType movementType) {
		super(id, active);
		this.client = client;
		this.order = order;
		this.distributionClient = distributionClient;
		this.value = value;
		this.voucher = voucher;
		this.movementType = movementType;
	}

	public Movement() {
		super();
		// TODO Auto-generated constructor stub
	}

	public Client getClient() {
		return client;
	}

	public void setClient(Client client) {
		this.client = client;
	}

	public Order getOrder() {
		return order;
	}

	public void setOrder(Order order) {
		this.order = order;
	}

	public DistributionClient getDistributionClient() {
		return distributionClient;
	}

	public void setDistributionClient(DistributionClient distributionClient) {
		this.distributionClient = distributionClient;
	}

	public float getValue() {
		return value;
	}

	public void setValue(float value) {
		this.value = value;
	}

	public String getVoucher() {
		return voucher;
	}

	public void setVoucher(String voucher) {
		this.voucher = voucher;
	}

	public MovementType getMovementType() {
		return movementType;
	}

	public void setMovementType(MovementType movementType) {
		this.movementType = movementType;
	}

}
